package com.team.easybuy.service;

import com.team.easybuy.entity.UserAddress;

import java.util.List;

public interface AddressService {

    List<UserAddress> getUserAddressList(Integer userId);
    UserAddress getUserAddress(Integer id);
    boolean addUserAddress(UserAddress userAddress);
    boolean deleteUserAddress(Integer id);
    boolean editUserAddress(UserAddress userAddress);
    boolean setDefaultAddress(UserAddress userAddress);
    int getCountUserAddressByUserId(Integer userId);

}
